﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web_June_10_2021
{
    public partial class GoTo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (PreviousPage != null)
            {
                TextBox aaa = (TextBox)PreviousPage.FindControl("Name");

                if (aaa != null)
                {
                    Name2.Text ="恭喜，" + aaa.Text + "，注册成功！";
                }
            }
        }
    }
}